<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script>
        function encrypt(data){
            // AES.encrypt("")
            return "asdf"
        }

        function a(){
            let a = 'a'
            console.log('a func')
            b()
        }
        function b(){
            let b = 'b'
            let data = {
                pn:1
            }
            let enc_data = encrypt(data)
            console.log('b func')
            c(enc_data)
        }
        function c(enc_data){
            let c = 'c'
            console.log('c func')
            d(enc_data)
        }
        function d(enc_data){
            let d = 'd'
            console.log('d func')
            e(enc_data)
        }

        function e(enc_data){
            let e = 'e'
            // shoot
            console.log('push request ')
        }
        a()
    </script>
</head>
<body>

</body>
</html>